#pragma once
#include "../gps_component/f9k/gps_module.h"
#include <interface/msg/gnss.hpp>
#include <rclcpp/rclcpp.hpp>
namespace sensor::gps {

class GpsComponent : public rclcpp::Node {

public:
    GpsComponent(const rclcpp::NodeOptions& options);

private:
    void GpsData(const interface::msg::Gnss gps);

private:
    rclcpp::Publisher<interface::msg::Gnss>::SharedPtr gpsPubPtr_;
    std::shared_ptr<GPSModule> gps_module_;
};
}